package org.langqiao.algorithm;

public class YangHuiSanJiao {
	
	public static int f(int m,int n) {
		if(m==0)return 1;
		if(n==0||n==m)return 1;
		return f(m-1,n-1)+f(m-1,n);
		//System.out.println(f(m-1,n-1)+f(m-1,n));
		
	}
	
	public static void mian(String[] args) {
		f(4,3);
	}

}
